﻿using System;
using System.Drawing;
using System.Xml.Serialization;

namespace DC2010
{
    /// <summary>
    /// Object which specifies position within the dungeon
    /// </summary>
    [Serializable]
	[Obsolete("Use InGameObjectPosition instead of this")]
    public class DungeonGfx
    {
        /// <summary>
        /// Normal view Info information
        /// </summary>
        [XmlAttribute]
        public string Texture { get; set; }

        /// <summary>
        /// Delay between frames
        /// </summary>
        [XmlAttribute]
        public double Delay { get; set; }

        /// <summary>
        /// In case of annimation picture. Tells us width of one tile.
        /// </summary>
        [XmlAttribute]
        public int TileWidth { get; set; }

        /// <summary>
        /// In case of annimation picture. Tells us height of one tile.
        /// </summary>
        [XmlAttribute]
        public int TileHeight { get; set; }

        /// <summary>
        /// It is actually performing animation?
        /// </summary>
        [XmlAttribute]
        public bool IsAnimated { get; set; }
    }
}
